package com.pjedu.nbmallshop.mapper;

import com.pjedu.nbmallshop.entity.MallIndexConfig;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface MallIndexConfigMapper {
    int deleteByPrimaryKey(Long configId);

    int insert(MallIndexConfig record);

    int insertSelective(MallIndexConfig record);

    MallIndexConfig selectByPrimaryKey(Long configId);

    int updateByPrimaryKeySelective(MallIndexConfig record);

    int updateByPrimaryKey(MallIndexConfig record);

    List<MallIndexConfig> findIndexConfigList(HashMap pageUtil);

    int getTotalIndexConfigs(HashMap pageUtil);

    int deleteBatch(Long[] ids);

    List<MallIndexConfig> findIndexConfigsByTypeAndNum(@Param("configType") int configType, @Param("number") int number);
}